The Clever Little Tailor (German: Vom klugen Schneiderlein) is a German fairy tale collected by the Brothers Grimm as tale 114. It is Aarne-Thompson type 850, The Princess's Birthmarks. Andrew Lang included it in The Green Fairy Book.
A proud princess set a riddle to her wooers and sent them away when they could not answer. Three tailors came. Two were known for their cleverness and skill, and the third for his uselessness. The princess asked them what two colors were her hairs. The first said black and white; the second brown and red; the third gold and silver, and he was right.
The princess demanded that he spend the night with a bear as well. In his stall, the tailor began to crack nuts. He offered the bear not nuts but pebbles, and the bear could not crack them. The tailor took one away, substituted a nut, and cracked it. The tailor began to fiddle, and the bear danced. The tailor offered to teach it, but first he had to cut its nails. He trapped it in a vise and left it there.
The princess agreed to marry him. The other two tailors freed the bear. It came after the carriage. The tailor stuck his legs out the window and threatened the bear with the claim that they were a vise. It ran off.